package com.jyy.prefabricated.entity;

import com.jyy.prefabricated.enums.BaseTeamEnum;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 证书类型
 */
@Data
public class CertificateType implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 证书类型
     */
    @NotNull(message = "证书类型不能为空")
    private String name;

    /**
     * 租户编码
     */
    private String teamCode = BaseTeamEnum.BASE.getValue();

}